Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a boolean indicating whether the function has been hooked.
function isfunctionhooked(target: function): boolean
function
local function foo() print("Hello, world!") end print("Before hooking:", isfunctionhooked(foo)) --> false hookfunction(foo, function() print("Hello, new world!") end) print("After hooking:", isfunctionhooked(foo)) --> true restorefunction(foo) print("After restoring:", isfunctionhooked(foo)) --> false